
/*******************************************************
*  Team name: FTPMP 
*  Class involve: GameSettingController, BoardEngine, 
*  Version, Author, History of modification: 
*  Ver 1.0, Fred,
*  -add process, GameSettingController 
*******************************************************/

package control;

import boundary.*;
import control.*;
import entity.*;
import java.awt.*;
import javax.swing.*;


public class GameSettingController 
{
	GameSettingWindow gameSettingWindow;

	BoardEngine boardEngine;
	public GameSettingController (GameSettingWindow gameSet,BoardEngine BE)
	{
		this.gameSettingWindow=gameSet;
		this.boardEngine=BE;
	}
	public void process(int playerNo,int winCon, int winMeth)
	{
		this.boardEngine.setPlayerNo(playerNo);
		this.boardEngine.setWinCon(winCon);
		this.boardEngine.setWinMeth(winMeth);
		this.boardEngine.setPlayerMT();
		this.boardEngine.initRoundWindow();
		
	}
	/*------------------- game setting ------------------------*/
	//1.choose language
	/*2. setup page:
		 Number of players
		 Winning method 
		 Winning condition
	*/
	/*3. choose role page:
		 display all no of roles for players to choose 
	*/
	/*4. choose stance page:
	 display all no of stances for players to choose 
	 */
	/*5. role a dice page: (for determining player's order) */
	// display final order of players+ prompt users to start the game
	/*------------------- round action ------------------------*/
	public BoardEngine getBoardEngine() 
	{
		return this.boardEngine;
	}

}
